/*
* Test driver for read_route()
*/
#include <stdio.h>
#include <stdlib.h>
#include "ssm.h"

int main(int argc, char *argv[]) {
Route	route;

printf("Starting test_route argc=%d\n", argc);
if(argc!=4) {
  fprintf(stderr,"ERROR Useage: %s <route_file_in> <plan_file_in>  <route_file_out>\n", argv[0]);
  exit(1);
}
printf(" read_route(\"%s\", %X) returns %d\n", argv[1], (unsigned int)&route, read_route(argv[1], argv[2],&route));
printf(" write_route(\"%s\", %X) returns %d\n", argv[2], (unsigned int)&route, write_route(argv[3], &route));
exit(0);
}
